
	<h1 class="seccion-title"><?php __('Páginas'); ?></h1>
	
	<div class="control-link">
		<ul>
			<li><?php echo $html->link(__('Crear nueva página', true), array('controller' => 'posts', 'action' => 'dashboard_add', 'type' => 'pages')); ?></li>
		</ul>
	</div>

	<table>
		<thead>
			<tr>
				<th><?php __('Titulo'); ?></th>
				<th><?php __('Opciones'); ?></th>
			</tr>
		</thead>
		<tbody>
			<?php foreach($posts AS $row): ?>
			<tr>
				<td><?php echo $row['Post']['title']; ?></td>
				<td>
					<?php echo $html->link($html->image('blank.gif', array('width' => 16, 'height' => 16, 'alt' => __('Editar', true))), array('controller' => 'posts', 'action' => 'dashboard_edit', 'type' => 'pages', $row['Post']['id'], md5($row['Post']['id'])), array('escape' => false)); ?>
				</td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
